package com.ailesson.user.model.reply;


import java.io.Serializable;
import java.util.List;

import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 公众号菜单
 * 
 * @author mac
 * @email mac@gmail.com
 * @date 2024-10-19 22:39:15
 */
@Schema(name = "公众号菜单返回值")
@Data
public class WxpMenuReply implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@Schema(name = "id", description = "编号", type = "Long")
    private Long id;
	/**
	 * 上级id
	 */
	@Schema(name = "parentId", description = "上级id", type = "Long")
    private Long parentId;
	/**
	 * 菜单名称
	 */
	@Schema(name = "name", description = "菜单名称", type = "String")
    private String name;
	/**
	 * 类型
	 */
	@Schema(name = "type", description = "类型", type = "String")
    private String type;
	/**
	 * 网页 链接，用户点击菜单可打开链接
	 */
	@Schema(name = "url", description = "网页 链接，用户点击菜单可打开链接", type = "String")
    private String url;
	/**
	 * 菜单KEY值，用于消息接口推送
	 */
	@Schema(name = "meunKey", description = "菜单KEY值，用于消息接口推送", type = "String")
    private String meunKey;
	/**
	 * 排序
	 */
	@Schema(name = "sort", description = "排序", type = "Integer")
    private Integer sort;

	@Schema(name = "children", description = "子菜单", type = "List")
	private List<WxpMenuReply> children;

}
